Skip to content

bugfix(SupplyTruckAI): Halt state machine on destruction#476

Merged
x64-dev merged 1 commit into
mainfrom
seer/fix/supply-truck-ai-destructor-halt
May 7, 2026
Merged

bugfix(SupplyTruckAI): Halt state machine on destruction#476
x64-dev merged 1 commit into
mainfrom
seer/fix/supply-truck-ai-destructor-halt

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-37R. The issue was that: SupplyTruckAIUpdate's StateMachine destructor accesses already-deleted owner object, causing an access violation read.

  • Added a check to halt the supply truck's state machine (m_supplyTruckStateMachine) before its deletion in the SupplyTruckAIUpdate destructor.
  • This ensures the state machine is properly shut down, preventing potential issues if it's still active during deallocation.
  • Applied to both Generals and GeneralsMD versions of SupplyTruckAIUpdate.cpp.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 13731699

Not quite right? Click here to continue debugging with Seer.

@x64-dev x64-dev merged commit 1ce3829 into main May 7, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant